package com.upcode.weighing.domain;

import com.baomidou.mybatisplus.annotation.TableField;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author miao
 * @since 2019-04-23
 */
public class Sequence implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 序列的名字
     */
	private String name;
    /**
     * 序列的当前值
     */
	@TableField("current_value")
	private Integer currentValue;
    /**
     * 序列的自增值
     */
	private Integer increment;


	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getCurrentValue() {
		return currentValue;
	}

	public void setCurrentValue(Integer currentValue) {
		this.currentValue = currentValue;
	}

	public Integer getIncrement() {
		return increment;
	}

	public void setIncrement(Integer increment) {
		this.increment = increment;
	}

	@Override
	public String toString() {
		return "Sequence{" +
			", name=" + name +
			", currentValue=" + currentValue +
			", increment=" + increment +
			"}";
	}
}
